package zuoye2;

public class Test {
    public static void main(String[] args) {
        Fu f = new Jangshi("91杨先生","男",18);
        System.out.println(f);
        f.word();
        System.out.println("=========");
        UIteacher f1 = new UIteacher("91杨先生","男",18);
        System.out.println(f1);
        f1.word();
        f1.painting();
        System.out.println("=========");
        Htmlteacher f2 = new Htmlteacher("91杨先生","男",18);
        System.out.println(f2);
        f2.word();
        f2.painting();

    }
}
